from django.urls import path

from article import views

urlpatterns = [
    path('', views.index, name='index'),
    path('article_detail/<int:id>', views.article_detail, name='article_detail'),
    path('my_articles/', views.my_articles, name='my_articles'),
    path('add_article/', views.add_article, name='add_article'),
    path('del_article/<int:id>', views.del_article, name='del_article'),
    path('update_art/<int:id>/', views.update_art, name='update_art'),
]
